<?php
$pageTitle = "Вход в системата";
include 'includes/header.php';
?>
<!--<nav class="kendo-style-black">
    <ul id="Menu" data-role="menu" tabindex="0" role="menubar">
        <form id="Search" method="get" autocomplete="off" action="messages.php" novalidate="novalidate">
            <input id="SearchTerm" type="text" maxlength="100" placeholder="Търси" name="search">
            <input id="SearchButton" type="submit" value="">
        </form>
        <div id="SearchSuggestions"></div>
</nav>-->
<?php
echo '<pre>' . print_r($_POST, TRUE) . '</pre>';
if ($_POST)
{
    header('Location: messages.php');
    exit();
}
else
{

}
?>
<div id="divEnter"><label><h1 id="lblEnter">Вход в системата</h1></label></div>
<form method="POST" name="frm">
    <table>
        <tr>
            <td id="tdName"><label name="lblName">Име</label></td>
            <td><input type="text" name="nameBox"/></td>
        </tr>
        <tr>
            <td id="tdPass"><label name="lblPass">Парола</label></td>
            <td><input type="password" name="pass"</td>
        </tr>
        <tr>
            <td colspan="3"><input id="log" type="submit" name="login" value="Влез"/></td>
        </tr>
    </table>
</form>
<div id="divReg">
    <p>Ако не сте регистриран моля използвайте формата за <a href="registration.php">Регистрация</a></p>
</div>
<?php
include 'includes/footer.php';
?>